package com.ai.service.made;

import com.ai.common.CommonResponse;
import com.ai.entity.made.RegionBase;
import com.ai.entity.made.page.RegionPage;
import com.ai.entity.security.SysRole;
import com.ai.model.vo.RegionBaseVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiaok
 * @since 2023-07-24
 */
public interface IRegionBaseService extends IService<RegionBase> {

    CommonResponse getList();

    CommonResponse deleteRegion(String id);

    CommonResponse add(RegionBaseVo regionBaseVo);

    CommonResponse updateRegion(RegionBase regionBase);

    RegionBase getRegionBaseByCode(String regionManageCode);


    IPage<RegionBase> getPage(RegionPage page);

    CommonResponse getAppoint(String id);

    RegionBase getRegionByCameraId(Integer id);
}
